package com.perfma.xtest.tool;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: junhui.si
 * @date: 2021-01-04 11:11
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MachineVo implements Serializable {
    private static final long serialVersionUID = -65470489254181167L;

    public MachineVo(String state) {
        this.state = state;
    }

    private Long id;

    private String name;

    private String ip;

    private String mac;

    private Integer cpuCores;

    private Long totalSystemMemory;

    private Long totalSwapMemory;

    private Long diskTotalSize;

    private String osName;

    private String osVersion;

    private String version;

    private String state;

    private String startUser;

    private Long uid;

    private Boolean stateless;

    private Boolean worker;

    private Boolean used;

    private Boolean reusable;

    private Long regionId;

    private Long heartbeatTime;

    private Long clusterId;

    private Long appId;



}
